package com.css.fxfzxczh.modules.disasterSituationDataManage.lifeline.service;

import com.css.fxfzxczh.modules.disasterSituationDataManage.lifeline.entity.Lifeline;
import com.css.fxfzxczh.modules.disasterSituationDataManage.lifeline.entity.Tree;
import com.css.fxfzxczh.modules.disasterSituationDataManage.lifeline.param.LifelineParam;
import com.css.fxfzxczh.modules.disasterSituationDataManage.lifeline.vo.LifelineVO;
import com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiData.vo.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface LifelineService {
    Map<String, Object> getPage(LifelineParam queParams, int curPage, int pageSize);

    void exportData(HttpServletResponse response, LifelineParam param);

    List<Tree> queryLifelineType();

    LifelineVO findById(String id);

    void batchAudit(List<Lifeline> lifeline);

    void updateById(Lifeline param);

    Map<String, Object> importExcel(MultipartFile file, ResultVo resultVo);

    String save(Lifeline param);

    void submit(List<String> ids);

    void batchDelete(List<String> ids);

    String getLifeLineCode(String eventCode);
}
